<!--订单详情-->
<div class="bg-light lter b-b wrapper-md">
    <h1 class="m-n font-thin h3">调货申请单详情</h1>
</div>
<div class="wrapper-md" ng-controller="TransferOrderDetailController">
    <form name="form" class="form-validation">
        <div class="panel panel-default">
            <div class="panel-heading">
                <span class="h4">商品信息</span>
            </div>
            <div class="panel-body" ng-repeat="goodsDetail in orderDetail.goods">
                <div class="row">
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">商品名称</label>
                            <div class="col-sm-9">
                                <label class="control-label">{{goodsDetail.goodsName}}</label>
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">商品数量</label>
                            <div class="col-sm-9">
                                <label class="control-label">{{goodsDetail.count}}</label>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">商品颜色</label>
                            <div class="col-sm-9">
                                <label class="control-label">{{goodsDetail.color}}</label>
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">商品尺码</label>
                            <div class="col-sm-9">
                                <label class="control-label">{{goodsDetail.size}}</label>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">商品价格</label>
                            <div class="col-sm-9">
                                <label class="control-label">{{goodsDetail.goodsBuyingPrice}}</label>
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">已发货数量</label>
                            <div class="col-sm-9">
                                <label class="control-label">{{goodsDetail.deliveredCount}}</label>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="line line-dashed b-b line-lg pull-in"></div>
            </div>
        </div>
        <div class="panel panel-default">
            <div class="panel-heading">
                <span class="h4">订单信息</span>
            </div>
            <div class="panel-body">
                <div class="row">
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">搭配师</label>
                            <div class="col-sm-9">
                                <label class="control-label">{{orderDetail.stylistName}}</label>
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">所属门店</label>
                            <div class="col-sm-9">
                                <label class="control-label">{{orderDetail.belongToName}}</label>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="line line-dashed b-b line-lg pull-in"></div>
                <div class="row">
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">下单时间</label>
                            <div class="col-sm-9">
                                <label class="control-label">{{orderDetail.orderTime}}</label>
                            </div>
                        </div>

                    </div>
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">订单状态</label>
                            <div class="col-sm-9">
                                <label class="control-label">{{orderDetail.orderStatus}}</label>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="line line-dashed b-b line-lg pull-in"></div>
                <div class="row">
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">收货人姓名</label>
                            <div class="col-sm-9">
                                <label class="control-label">{{orderDetail.consigneeName}}</label>
                            </div>
                        </div>

                    </div>
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">收货人电话</label>
                            <div class="col-sm-9">
                                <label class="control-label">{{orderDetail.consigneeTel}}</label>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="line line-dashed b-b line-lg pull-in"></div>
                <div class="row">
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">收货人地址</label>
                            <div class="col-sm-9">
                                <label class="control-label">{{orderDetail.consigneeAddress}}</label>
                            </div>
                        </div>

                    </div>
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">收货人邮编</label>
                            <div class="col-sm-9">
                                <label class="control-label">{{orderDetail.consigneePostcode}}</label>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="panel panel-default">
            <div class="panel-heading">
                <span class="h4">订单描述</span>
            </div>
            <div class="panel-body">
                <div class="row">
                    <div class="col-sm-12">
                        <div class="form-group">
                            <div class="col-sm-9">
                                <label class="control-label">{{orderDetail.description}}</label>
                            </div>

                        </div>
                    </div>
                </div>

            </div>
        </div>
        <footer class="panel-footer text-right bg-light lter">
            <button type="button" class="btn btn-success" ng-click="createInvoice()">发货</button>
            <button type="button" class="btn btn-error" ng-click="backToOrderList()">返回</button>
        </footer>
    </form>
</div>

